﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FaultBackService.BLL
{
    class Turbine
    {
        DAL.Turbine dal = new DAL.Turbine();

        /// <summary>
        /// 获取正常的风机序列
        /// </summary>
        /// <returns></returns>
        public IList<Models.Turbine> GetNormalList()
        {
            return dal.GetNormalList();
        }

        /// <summary>
        /// 获取正常的风机ID数组
        /// </summary>
        /// <returns></returns>
        public int[] GetNormalIds()
        {
            return dal.GetNormalIds();
        }

        /// <summary>
        /// 获取风机字典
        /// </summary>
        /// <returns></returns>
        internal IDictionary<int, Models.Turbine> GetDict()
        {
            return dal.GetDict();
        }
    }
}
